package module.edittroop.event
{
	import flash.events.Event;

	public class EditTroopEvent extends Event
	{
		/**
		 *弹出选择是否真得解散部队面板 
		 */		
		public static const GET_CHANGLE_PANEL:String = "get_changle_panel";
		/**
		 *玩家编辑新部队事件 
		 */		
		public static const EDIT_NEW_TROOP:String = "edit_new_troop";
		/**
		 *玩家解散部队事件 
		 */		
		public static const EDIT_DISSLOVE:String = "edit_disslove";
		/**
		 * 关闭队伍信息时事件
		 */		
		public static const REMOVE_TROOP_EVENT:String = "REMOVE_TROOP_EVENT";
		/**
		 *弹出编辑新部队面板事件
		 */		
		public static const GET_NEW_TROOP_PANEL:String = "GET_NEW_TROOP_PANEL";
		/**
		 *弹出重组部队面板事件
		 */		
		public static const GET_DISSLOVE_TROOP_PANEL:String = "GET_DISSLOVE_TROOP_PANEL";
		/**
		 *移除编辑新对话框事件 
		 */		
		public static const REMOVE_NEW_TROOP_PANEL:String = "REMOVE_NEW_TROOP_PANEL";
		/**
		 *list部件单机事件 
		 */		
		public static const LIST_ITEM_CLICK_EVENT:String = "LIST_ITEM_CLICK_EVENT";
		
		public static const ADD_TROOP_NUM:String = "add_troop_num";
		private var _data:Object;
		public function EditTroopEvent(type:String,bubbles:Boolean = true,cancelable:Boolean = false,data:Object = null)
		{
			super(type, bubbles, cancelable);
			_data = data;
		}

		public function set data(value:Object):void
		{
			_data = value;
		}

		public function get data():Object
		{
			return _data;
		}

	}
}